package com.atguigu.ssyx.product.service.impl;


import com.atguigu.ssyx.model.product.SkuPoster;
import com.atguigu.ssyx.product.mapper.SkuPosterMapper;
import com.atguigu.ssyx.product.service.ISkuPosterService;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import lombok.RequiredArgsConstructor;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * <p>
 * 商品海报表 服务实现类
 * </p>
 *
 * @author author
 * @since 2025-09-13
 */
@Service
@RequiredArgsConstructor
public class SkuPosterServiceImpl extends ServiceImpl<SkuPosterMapper, SkuPoster> implements ISkuPosterService {

    private final SkuPosterMapper skuPosterMapper;
    @Override
    public List<SkuPoster> getPosterListBySkuId(Long id) {
        return skuPosterMapper.getPosterListBySkuId(id);
    }
}
